#pragma once

#include <compl.h>
/* szcls */
typedef hword_t szcls_t;

STA_OUFUN(cls)
szcls_t (* const sz2cls)(size_t size);
size_t (* const cls2sz)(szcls_t cls);
END_OUFUN(cls)

#define DECL_SZLCS(name)			\
SAI PURE szcls_t _sz2cls_##name (size_t size);	\
SAI PURE size_t _cls2sz_##name (szcls_t cls);\
NEW_OUFUN(cls, name, _sz2cls_##name, _cls2sz_##name)
